package com.example.mapper;

import com.example.entity.StockInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StockInfoMapper {

    StockInfo getStockInfo(String stockCode);

    int save(StockInfo stockInfo);

    int update(StockInfo stockInfo);

    int deleteByCode(String stockCode);

    List<StockInfo> selectAll();

}
